<script setup>
import {RouterView} from 'vue-router'
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import {ref} from "vue";
import { legacyLogicalPropertiesTransformer } from 'ant-design-vue';

dayjs.locale('zh-cn');
const locale = ref(zhCN);
import {theme} from 'ant-design-vue';


</script>

<template>
  <a-config-provider :theme="{
      algorithm: theme.compactAlgorithm,
    }" :locale="locale">
    <a-style-provider :transformers="[legacyLogicalPropertiesTransformer]" hash-priority="high">
      <RouterView/>
    </a-style-provider>

  </a-config-provider>

</template>

<style scoped>
</style>
